home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / 422mods.zip / CONAN08.422 < prev    next >
Text File  |  1993-03-25  |  3KB  |  56 lines

  1. 1C7ONAN18 5- Add 10 minutes extra time using //ADDTIME
  2. Conan #1 @7304
  3. Monday, March 15, 1993   8:55 am
  4. ┌────────────────────────────────────────────────────────────────────────────┐
  5. │ Mod Name      : CONAN08                 Mod Author: Conan 1@473   ComLink  │
  6. │ Difficulty    : ██▒▒▒▒▒▒▒▒                                1@7304  IceNet   │
  7. │ WWIV Version  : 4.22                                      1@7307  WWIVnet  │
  8. │ Mod Date      : 03/15/93                                  1@17325 WWIVLink │
  9. │ Files Affected: BBS.C                                                      │
  10. │ Description   : Add 10 Minutes System Time                                 │
  11. └────────────────────────────────────────────────────────────────────────────┘
  12.  
  13.  This mod originally was written for WWIV v4.10 by Goose (1@17310 WWIVLink). 
  14.  But since it was such a good idea, I just fixed a little so it works for
  15.  4.22 just fine! (And I'm sure 4.2xx)
  16.  
  17.  STEP UNO
  18.  ~~~~~~~~
  19.  Backup your source! I take no responsiblity if your cat starts vomiting
  20.  purple fig newtons or your computer melts into a jello-like ooze. So
  21.  backup your source!!! (i.e. PKZIP SOURCE *.C *.H *.MAK)
  22.  
  23.  STEP TWO
  24.  ~~~~~~~~
  25.  Open up BBS.C and right before the CHAINEDIT part add this in. 
  26.  
  27.     if (strcmp(s,"ADDTIME")==0) {                        /* ADD CONAN08 */
  28.       sysoplog("!!@!! Added 10 Minutes System Time");    /* ADD CONAN08 */
  29.       thisuser.extratime+=10.0*60.0;                     /* ADD CONAN08 */
  30.       nl();                                              /* ADD CONAN08 */
  31.       pl("10 Minutes Added");                            /* ADD CONAN08 */
  32.       tleft(0);                                          /* ADD CONAN08 */
  33.     }                                                    /* ADD CONAN08 */
  34.     if (strcmp(s,"CHAINEDIT")==0) {                     /* ALREADY THERE */
  35.  
  36.  STEP THREE 
  37.  ~~~~~~~~~~
  38.  Save and close BBS.C and you're finished! Just kick back & compile!
  39.  Note that only sysops will be able to do this function. But if you want
  40.  users to do it just add those same lines as above right before the NET
  41.  part in BBS.C    
  42.  
  43.  That's it! Credit goes to Goose for thinking this mod up...I just have a
  44.  tendency for getting these old mods and making them work for 4.22
  45.  If you have any questions you can call my board Perfect World 703-255-6606
  46.  or you can e-mail me on any of these networks.
  47.  
  48.  1C7ona1N 
  49.                 1@7304  IceNet
  50.                 1@7307  WWIVnet
  51.                 1@17325 WWIVLink
  52. 
  53. 2            7Perfect World 3* 5WWIV v4.22 3* 27o3 255 6606 3* 11200-9600bps 
  54. 3         1IceNet @7304 3* 2WWIVLink @17325 3* 5WWIVnet @7307 3* 7ComLink @473  
  55. 4
  56.